package com.ticket.system.mapper;

import java.util.List;
import com.ticket.system.domain.YanchuRechargeRules;

/**
 * 充值活动规则Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-07
 */
public interface YanchuRechargeRulesMapper 
{
    /**
     * 查询充值活动规则
     * 
     * @param id 充值活动规则主键
     * @return 充值活动规则
     */
    public YanchuRechargeRules selectYanchuRechargeRulesById(Long id);

    /**
     * 查询充值活动规则列表
     * 
     * @param yanchuRechargeRules 充值活动规则
     * @return 充值活动规则集合
     */
    public List<YanchuRechargeRules> selectYanchuRechargeRulesList(YanchuRechargeRules yanchuRechargeRules);

    /**
     * 新增充值活动规则
     * 
     * @param yanchuRechargeRules 充值活动规则
     * @return 结果
     */
    public int insertYanchuRechargeRules(YanchuRechargeRules yanchuRechargeRules);

    /**
     * 修改充值活动规则
     * 
     * @param yanchuRechargeRules 充值活动规则
     * @return 结果
     */
    public int updateYanchuRechargeRules(YanchuRechargeRules yanchuRechargeRules);

    /**
     * 删除充值活动规则
     * 
     * @param id 充值活动规则主键
     * @return 结果
     */
    public int deleteYanchuRechargeRulesById(Long id);

    /**
     * 批量删除充值活动规则
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYanchuRechargeRulesByIds(Long[] ids);
}
